package com.pkx.cloud.fse7.expand.group.feign;

import com.pkx.cloud.fse7.expand.group.feign.entity.Yard;
import com.pkx.cloud.whzx.comn.OutRpose;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@FeignClient("plat")
public interface PlanFeign {
    /**
     * 查询场地列表
     *
     * @param
     * @return
     */
    @GetMapping("/yard/findYardList")
    OutRpose<List<Yard>> getYardList();

    @GetMapping("/yard/{yardId}")
    OutRpose<Yard> findYard(@PathVariable(value = "yardId") String yardId);

}
